package com.jic.interaction.JDVOP.model.vo.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class ProductSearchRequest {
    @ApiModelProperty("授权时获取的access token")
    private String token;
    @ApiModelProperty("搜索关键字，需要编码")
    private String keyword;
    @ApiModelProperty("分类Id,只支持三级类目Id ")
    private String catId;
    @ApiModelProperty("当前第几页")
    private Integer pageIndex;
    @ApiModelProperty("当前页显示")
    private Integer pageSize;
    @ApiModelProperty("价格区间搜索，低价")
    private String min;
    @ApiModelProperty("价格区间搜索，高价")
    private String max;
    @ApiModelProperty("品牌搜索 多个品牌以逗号分隔，需要编码")
    private String brands;
    @ApiModelProperty("一级分类")
    private String cid1;
    @ApiModelProperty("二级分类")
    private String cid2;
    @ApiModelProperty("销量降序=\"sale_desc\";\n" +
            "价格升序=\"price_asc\";\n" +
            "价格降序=\"price_desc\";\n" +
            "上架时间降序=\"winsdate_desc\";\n" +
            "按销量排序_15天销售额=\"sort_totalsales15_desc\";\n" +
            "按15日销量排序=\"sort_days_15_qtty_desc\";\n" +
            "按30日销量排序=\"sort_days_30_qtty_desc\";\n" +
            "按15日销售额排序=\"sort_days_15_gmv_desc\";\n" +
            "按30日销售额排序=\"sort_days_30_gmv_desc\";")
    private String sortType;
    @ApiModelProperty("价格汇总 \n" +
            "priceCol=”yes”")
    private String priceCol;
    @ApiModelProperty("扩展属性汇总\n" +
            "priceCol=”yes”")
    private String extAttrCol;
}
